import Vue from 'vue';
import Router from 'vue-router';
Vue.use(Router);

export default new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes: [
        {
            path: "/login",
            name: "登录",
            component: () => import("../views/Login.vue")
        }, {
            path: "/register",
            name: "注册",
            component: () => import("../views/Register.vue")
        }, {
            path: '/',
            name: "首页",
            component: () => import("../views/Index.vue")
        }, {
            path: '/match_history',
            name: "历史匹配",
            component: () => import("../views/Match_history.vue")
        }, {
            path: '/matching',
            name: "匹配中",
            component: () => import("../views/Matching.vue")
        }, {
            path: '/security_set',
            name: "安全设置",
            component: () => import("../views/securitySet.vue")
        }, {
            path: '/service',
            name: "客服中心",
            component: () => import("../views/Service.vue")
        }, {
            path: "/review",
            name: '匹配审核',
            component: () => import("../views/Review.vue")
        }, {
            path: "/comfirmPay",
            name: '确认支付',
            component: () => import("../views/comfirmPay.vue")
        }, {
            path: "/buy",
            name: '马上购买',
            component: () => import("../views/buy.vue")

        }, {
            path: "/user",
            name: '个人中心',
            component: () => import("../views/user.vue")
        }, {
            path: "/explain",
            name: '项目说明',
            component: () => import("../views/explain.vue")
        }, {
            path: "/myuser",
            name: '我的团队',
            component: () => import("../views/myuser.vue")
        }, {
            path: "/mymoney",
            name: '我的资产',
            component: () => import("../views/mymoney.vue")
        }, {
            path: "/share",
            name: "推广分享",
            component: () => import("../views/share.vue")
        }, {
            path: '/match_yes',
            name: "已匹配",
            component: () => import("../views/Match_yes.vue")
        }, {
            path: "/apply_help",
            name: "申请帮助",
            component: () => import("../views/applyHelp.vue")
        }
    ]
})

